#include <bwio.h>
#include <user.h>
#include <defs.h>

void NameServer();
void RandomServer();
void IdleTask();

void UserInit() {
  int child;
  child = Create(8, &NameServer);
  Send(child, NULL, 0, NULL, 0);
  child = Create(8, &RandomServer);
  Send(child, NULL, 0, NULL, 0);
  Create(8, &RandomServer);
  Create(0, &IdleTask);
  int i;
  for (i = 0; i < 10; i++) {
    bwprintf(COM2, "[%d] %d\r\n", i, Rand());
  }
  FingerOfDeath();
}
